Tiny Hexer Script: Expressions

Expressions in Tiny Hexer Script are constructs which return values.


top bottom

Expressions can either consist of simple literals or variables of different data types or of complex constucts which are build using parenthesis, literals, operators and functions.


top bottom
Sample expressions:
var1                := variable
@var1               := variable reference
224                 := BYTE literal
0xE0                := hexadecimal BYTE literal
'Hello, world'      := TEXT literal
"Hello, world\n\r"  := TEXT literal
FILESIZE(f)         := function call
a * b               := product of a and b
var1 / (1 - var1)   := quotient of var1 and (1 - var1)
var1 != 2           := TRUE/FALSE condition (BYTE data type)
not var1            := negation of a TRUE/FALSE condition

top bottom
mirkes.de's Tiny Hexer, Copyright ⌐ Markus Stephany. All rights reserved.